﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="frmReporteDesaprobados.aspx.cs" Inherits="UI.DireccionAcademica.frmReporteDesaprobados" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style2
        {
            width: 399px;
        }
        .style6
        {
            width: 279px;
        }
        .style17
        {
            height: 8px;
        }
        .style22
        {
            height: 8px;
            width: 239px;
        }
      
        .style23
        {
            width: 425px;
        }
        .style27
        {
            width: 533px;
        }
              
        .style29
        {
            width: 138px;
        }
        .style30
        {
            width: 200px;
        }
        .style31
        {
        }
      
        .style24
        {
            text-align: left;
        }
      
        .style32
        {
            width: 110px;
        }
      
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">


    <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
    <Triggers>
    <asp:PostBackTrigger ControlID="btnBuscar" />
    </Triggers>
    <ContentTemplate>
    
    <table class="BTabla">
        <tr>
            <td>
                <table style="width: 759px">
                    <tr>
                        <td class="filaTabla" colspan="8">
                            Reporte de Desaprobados</td>
                        <td class="filaTabla">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style23">
                            </td>
                        <td class="style6">
                            </td>
                        <td>
                            </td>
                        <td>
                            </td>
                        <td>
                            </td>
                        <td>
                            </td>
                        <td class="style2">
                            </td>
                        <td class="style2">
                            </td>
                        <td class="style2">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style23">
                            </td>
                        <td>
                            <asp:Label ID="Label1" runat="server" Text="Semestre"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlSemestre" runat="server" Width="98px">
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:Label ID="Label2" runat="server" Text="Especialidad"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlEspecialidad" runat="server" Width="256px">
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:Label ID="Label3" runat="server" Text="Ciclo"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlCiclo" runat="server" Width="73px">
                                <asp:ListItem>TODOS</asp:ListItem>
                                <asp:ListItem>1</asp:ListItem>
                                <asp:ListItem>2</asp:ListItem>
                                <asp:ListItem>3</asp:ListItem>
                                <asp:ListItem>4</asp:ListItem>
                                <asp:ListItem>5</asp:ListItem>
                                <asp:ListItem>6</asp:ListItem>
                                <asp:ListItem>7</asp:ListItem>
                                <asp:ListItem>8</asp:ListItem>
                                <asp:ListItem>9</asp:ListItem>
                                <asp:ListItem>10</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp;</td>
                        <td>
                            <asp:ImageButton ID="btnExcel" runat="server" Height="27px" 
                                ImageUrl="~/Imagenes/Botones/EXCEL.png" onclick="btnExcel_Click" 
                                ToolTip="Exportar Excel" Width="27px" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style23">
                            </td>
                        <td>
                            Nombre/Código</td>
                        <td colspan="5">
                            <asp:TextBox ID="txtCodigo" runat="server" Width="533px"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Button ID="btnBuscar" runat="server" Height="34px" Text="Buscar" 
                                Width="88px" onclick="btnBuscar_Click" />
                        </td>
                        <td>
                            <asp:ImageButton ID="btnModal" runat="server" Height="28px" 
                                ImageUrl="~/Imagenes/Botones/Buscar.png" ToolTip="Buscar" Width="27px" 
                                onclick="btnModal_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style22">
                            </td>
                        <td class="style17" colspan="4">
                            <asp:Label ID="lblMensaje" runat="server" ForeColor="Red" 
                                style="font-family: Arial"></asp:Label>
                        </td>
                        <td class="style17">
                            </td>
                        <td class="style17">
                            </td>
                        <td class="style17">
                            </td>
                        <td class="style17">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style22">
                            &nbsp;</td>
                        <td class="style17" colspan="4">
                            &nbsp;</td>
                        <td class="style17">
                            &nbsp;</td>
                        <td class="style17">
                            &nbsp;</td>
                        <td class="style17">
                            &nbsp;</td>
                        <td class="style17">
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </ContentTemplate>
    </asp:UpdatePanel>


    <asp:Panel ID="Panel1" runat="server" Width="869px">
        <table class=BTabla>
            <tr>
                <td valign="top" class="style27">
                    <table style="width: 97%" frame="border">
                        <tr>
                            <td class="filaTabla" colspan="4">
                                Datos del Alumno</td>
                        </tr>
                        <tr>
                            <td>
                                Nombres</td>
                            <td colspan="2">
                                <asp:Label ID="lblNombre" runat="server" style="font-weight: 700"></asp:Label>
                            </td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                Especialidad</td>
                            <td >
                                <asp:Label ID="lblEspecialidad" runat="server" style="font-weight: 700"></asp:Label>
                            </td>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                <asp:Label ID="lblTextoAprobado" runat="server"></asp:Label>
                            </td>
                            <td >
                                <asp:Label ID="lblCantCursosDesaprobados" runat="server" Font-Size="Medium" 
                    ForeColor="Red" style="font-weight: 700"></asp:Label>
                            </td>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;</td>
                        </tr>
                    </table>
                </td>
                <td class="style32" 
                style="border-left-style: solid; border-left-width: 1px; border-left-color: #999999" 
                valign="top">
                </td>
                <td valign="top" class="style6">
                    <asp:GridView runat="server" AutoGenerateColumns="False" Width="365px" 
                    ID="grvDataMatric" Caption="Semestres Cursados">
                        <Columns>
                            <asp:BoundField DataField="semestre" HeaderText="Semestre"></asp:BoundField>
                            <asp:BoundField DataField="COD_ESPEC" HeaderText="Especialidad">
                            </asp:BoundField>
                            <asp:BoundField DataField="CICLO" HeaderText="Ciclo"></asp:BoundField>
                            <asp:BoundField DataField="Descripcion" HeaderText="Estado"></asp:BoundField>
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </asp:Panel>

                <asp:GridView ID="grvDesaprobados2" runat="server" AutoGenerateColumns="False" 
                    Width="799px" Caption="Detalle de Notas">
                    <Columns>
                        <asp:BoundField DataField="semestre" HeaderText="Semestre" />
                        <asp:BoundField DataField="especi" HeaderText="Especialidad" />
                        <asp:BoundField DataField="ciclos" HeaderText="Ciclo" />
                        <asp:BoundField DataField="descur" HeaderText="Curso" />
                        <asp:BoundField DataField="final" HeaderText="Nota" />
                        <asp:BoundField DataField="estado" HeaderText="Estado" />
                    </Columns>
                </asp:GridView>
            <br />
    <br />
    <asp:Panel ID="Panel2" runat="server"
        style="text-align: center">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <table class="BTabla">
            <tr>
                <td class="filaTabla" colspan="4">
                    Búsqueda de Alumnos</td>
            </tr>
            <tr>
                <td class="style31">
                </td>
                <td class="style29">
                </td>
                <td class="style21">
                </td>
                <td class="style30">
                </td>
            </tr>
            <tr>
                <td class="style31">
                    &nbsp;</td>
                <td class="style29">
                    Codigo/Nombre</td>
                <td class="style22">
                    <asp:TextBox ID="txtModalCodigo" runat="server" Width="155px"></asp:TextBox>
                </td>
                <td style="text-align: left; margin-left: 40px;" class="style30">
                    <asp:Button ID="btnBuscarModal" runat="server" Height="35px" Text="Buscar" 
                        Width="90px" onclick="btnBuscarModal_Click" />
                </td>
            </tr>
            <tr>
                <td class="style31">
                    &nbsp;</td>
                <td class="style24" colspan="3">
                    <asp:Label ID="lblMensajeModal" runat="server" style="color: #FF0000"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style31" colspan="4">
                    <asp:GridView ID="grvAgregaAlumnos" runat="server" AllowPaging="True" 
                        AutoGenerateColumns="False" 
                        onselectedindexchanged="grvAgregaAlumnos_SelectedIndexChanged" Width="622px">
                        <Columns>
                            <asp:CommandField SelectText="Agregar" ShowSelectButton="True" />
                            <asp:BoundField DataField="codigo" HeaderText="Código">
                            <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="nombres" HeaderText="Nombres">
                            <ItemStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            
        </table>
        
   </ContentTemplate>
   </asp:UpdatePanel>



        <asp:Button ID="btnSalir" runat="server" Height="33px" onclick="btnSalir_Click" 
            Text="Salir" Width="86px" />
    </asp:Panel>
    <asp:HiddenField  ID="HiddenFiel1" runat="server"/>
    <asp:ModalPopupExtender ID="mpeAgregaAlumno" runat="server"
    PopupControlID="Panel2" TargetControlID="HiddenFiel1" BackgroundCssClass="modalBackground" 
    
    
    >

   

    </asp:ModalPopupExtender>

    <br />
    <br />
</asp:Content>

